<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<jsp:include page="head.htm" />
<script>
	$(function() {
		$("#datepicker").datepicker("option", "dateFormat", "dd.mm.yy");
		$("#datepicker").datepicker("setDate", '<fmt:formatDate value="${feiertage.id}" type="date" pattern="dd.MM.yyyy" />');
	});
</script>
</head>
<body>
	<jsp:include page="loggedIn.jsp" />
	<jsp:include page="isAdmin.jsp" />
	<div id="head">
		<h1>Zeiterfassung</h1>
	</div>
	<jsp:include page="menu.jsp" />
	<div id="content">
		<h2>
			<c:out value="${title}" />
		</h2>
		<form method="post" action="SaveFeiertage.html" class="button" id="validForm">
			<table cellpadding="0" cellspacing="0" class="atag">
				<tr>
					<td>Datum</td>
					<td>
						<input type="text" class="textbox required" name="id" id="datepicker"	value='<fmt:formatDate value="${feiertage.id}" type="date" pattern="dd.MM.yyyy" />' size="50" />
					</td>
				</tr>
				<tr>
					<td>Feiertage Bezeichnung</td>
					<td><input type="text" class="textbox required" name="ftag_bez"
						value='<c:out value="${feiertage.ftag_bez}"/>' size="50" /></td>
				</tr>
				<tr class="submit">
					<td colspan="2"><input type="submit"
						value=" Änderungen übernehmen " /></td>
				</tr>

			</table>
		</form>
	</div>
</body>
</html>
